package com.cays.myresearch.entity;

public class UserInfo {
    private String name;
    private String password;
    private boolean autoLogin;
    private int type;
    private String user;

    public UserInfo() {
    }

    public UserInfo(String name, String password, boolean autoLogin, int type, String user) {
        this.name = name;
        this.password = password;
        this.autoLogin = autoLogin;
        this.type = type;
        this.user = user;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isAutoLogin() {
        return autoLogin;
    }

    public void setAutoLogin(boolean autoLogin) {
        this.autoLogin = autoLogin;
    }
    public boolean getAutoLogin(){return this.autoLogin;}
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
